package com.example.localexceptionhandler.enums;

public enum CommonExceptionEnum implements IExceptionEnum {

    COMMON_EXCPETION("0001","默认异常信息","默认异常信息"),
    ;


    private String code;
    private String name;
    private String displayName;

    CommonExceptionEnum(String code, String name, String displayName) {
        this.code = code;
        this.name = name;
        this.displayName = displayName;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setDisplayName(String displayName) {
        this.displayName = displayName;
    }

    @Override
    public String getCode() {
        return code;
    }

    @Override
    public String getName() {
        return name;
    }

    @Override
    public String getDisplayName() {
        return displayName;
    }
}
